package com.mes.task.dao.iface;

import java.util.List;

import com.bstek.dorado.data.provider.Page;
import com.mes.common.dao.iface.IBasicDao;
import com.mes.task.domain.WorkOrder;

public interface IWorkOrderDao extends IBasicDao<WorkOrder> {

	/**
	 * 
	 * 获取某主制 部门的缺件清单
	 */
	public List<WorkOrder> getDeptWorkOrders(String masterShopUid, Page page);

	/**
	 * 
	 * @param drawingId
	 * @param demandId
	 * @param masterShopUid
	 * @param page
	 * @return
	 */
	public List<WorkOrder> getCurrentWorkOrder(String drawingId, String demandId, String masterShopUid, Page page);

	public List<WorkOrder> getWorkOrderByPartUid(String partUid);

}
